/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.cashPayment.CashPaymentInData;
import com.gys.data.cashPayment.CashPaymentOutData;
import com.gys.data.saleScheduleSetting.GetSaleScheduleQueryInData;
import com.gys.data.user.GetLoginOutData;

public class CashPaymentUtil {
    public static HttpJson cashPaymentList(CashPaymentInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/cashPaymentList", JSON.toJSONString(param));
    }

    public static HttpJson cashPaymentDetailList(CashPaymentOutData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/cashPaymentDetailList", JSON.toJSONString(param));
    }

    public static HttpJson insert(CashPaymentOutData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/insert", JSON.toJSONString(param));
    }

    public static HttpJson approve(CashPaymentOutData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/approve", JSON.toJSONString(param));
    }

    public static HttpJson empGroupList(GetSaleScheduleQueryInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/empGroupList", JSON.toJSONString(param));
    }

    public static HttpJson empList(GetLoginOutData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/cashPayment/empList", JSON.toJSONString(param));
    }
}

